package pickbook.model;
//회원정보 관련 Value Object 정의
public class MemberVO {
	//member variable
	private String id;
	private String password;
	private String phone;
	private int visible;//휴대폰 번호 공개 여부 ( 공개 X = 0, 공개 O = 1 )
	private UnivListVO uvo;
	private BuyBookVO bbvo;
	private SaleBookVO sbvo;
	private MsgVO msgvo;
	private int msgTotal;
	//constructor - super
	public MemberVO() {
		super();
	}
	//constructor - overloading
	public MemberVO(String id, String password, String phone, int visible,
			UnivListVO uvo, BuyBookVO bbvo, SaleBookVO sbvo, MsgVO msgvo,int msgTotal) {
		super();
		this.id = id;
		this.password = password;
		this.phone = phone;
		this.visible = visible;
		this.uvo = uvo;
		this.bbvo = bbvo;
		this.sbvo = sbvo;
		this.msgvo=msgvo;
		this.msgTotal=msgTotal;
	}
	//setter/getter
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public int getVisible() {
		return visible;
	}
	public void setVisible(int visible) {
		this.visible = visible;
	}
	public UnivListVO getUvo() {
		return uvo;
	}
	public void setUvo(UnivListVO uvo) {
		this.uvo = uvo;
	}
	public BuyBookVO getBbvo() {
		return bbvo;
	}
	public void setBbvo(BuyBookVO bbvo) {
		this.bbvo = bbvo;
	}
	public SaleBookVO getSbvo() {
		return sbvo;
	}
	public void setSbvo(SaleBookVO sbvo) {
		this.sbvo = sbvo;
	}
	public MsgVO getMsgvo() {
		return msgvo;
	}
	public void setMsgvo(MsgVO msgvo) {
		this.msgvo = msgvo;
	}
	public int getMsgTotal() {
		return msgTotal;
	}
	public void setMsgTotal(int msgTotal) {
		this.msgTotal = msgTotal;
	}
	//toString - overriding
	@Override
	public String toString() {
		return "MemberVO [id=" + id + ", password=" + password + ", phone="
				+ phone + ", visible=" + visible + ", uvo=" + uvo + ", bbvo="
				+ bbvo + ", sbvo=" + sbvo + ", msgvo=" + msgvo + ", msgTotal="
				+ msgTotal + "]";
	}
	
}
